<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model as Model;

/**
 * Class FacilityTicketModel
 * @package App\Models
 * @version May 10, 2018, 2:22 pm CST
 *
 * @property int ticket_id
 * @property int facility_id
 */
class FacilityTicketModel extends Model
{
    public $table = 'facility_ticket';

    public $fillable = [
        'ticket_id',
        'facility_id'
    ];

    public $searchable = [
        'ticket_id',
        'facility_id'
    ];

    /**
     * The attributes that should be casted to native types.
     *
     * @var array
     */
    protected $casts = [
        
    ];

    /**
     * Validation rules
     *
     * @var array
     */
    public static $rules = [
        'ticket_id' => 'required|int',
        'facility_id' => 'required|int'
    ];

}
